If a request is made to your server to display a webpage on your site (for example, when a user accesses your page through a browser or when Googlebot crawls the page), your server returns an HTTP status code in response to the request.This status
HTTP Status Response code explanation/DaquanThe HTTP status code is a 3-bit numeric code that represents the HTTP response status of the Web server. It is defined by the RFC 2616 specification and is extended by RFC 2518, RFC 2817, RFC 2295, RFC 2774
Http://blog.csdn.net/qxs965266509/article/details/8082810
Common request header fields in HTTP requestsAccept: the data type supported by the client for high-speed servers.Accept-charset: Used to tell the server that the client adopts the encoding
Common request header fields for HTTP requestsAccept: For high-speed servers, client-supported data typesAccept-charset: Used to tell the server that the encoding format used by the clientAccept-encoding: Used to tell the server that the data
Some common HTTP status codes are:200– server successfully returned to Web page404– The requested page does not exist503– Service Not availableCommon HTTP status Code Daquan1XX (Temporary response)A status code that represents a temporary response
Curl command A lot of parameters, bloggers have not used many. Found today can be used with the-w parameter is very useful.-w:--write-out, the function is the output point what. The-w parameter of curl is used to output the contents of the specified
100
The client should continue to send the request. This temporary response is used to inform the client that some of its requests have been received by the server and are still not rejected. The client should continue to send the remainder of
(1-word head)This type of status code, on behalf of which the request has been accepted, needs to be processed. This type of response is a temporary response that contains only the status line and some optional response header information and ends
Response object
I,Introduction
When the lweb server receives the HTTP request from the clientEach timeCreate a request object for the request and a response object for the response.
The lrequest and response objects represent requests and
Definition
HTTP status codeHTTP status code is a three-digit code used to indicate the HTTP response status of the Web server. It is defined by the RFC 2616 specification and has been extended by specifications such as RFC 2518, RFC 2817, RFC 2295,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.